//
//  TOTPAuthResult.swift
//  FeastBooking
//
//  Created by Imon on 2017/9/25.
//  Copyright © 2017年 Imon. All rights reserved.
//

import Foundation
import ObjectMapper

class TOTPAuthResult: Response {
    
    var token: String?
    var totpValid: Bool?
    
    required init?(map: Map){
        super.init(map: map)
    }
    
    override func mapping(map: Map) {
        super.mapping(map: map)
        token <- map["token"]
        totpValid <- map["totpValid"]
    }
}
